<!-- 			source :  guarantee_payment_applay.jsp		 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=utf-8" isELIgnored="false"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" 
                                                  prefix="fn" %>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>担保支付申请</title>

<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/guaranteeApply.js"></script>


<form:form name="payapply" method="POST" id="payapply"
	action="${ctx}/guarantee/apply/submit.do" target="_blank">
	<input type="hidden" id="gopayFeeAmt" name="gopayFeeAmt"
		value="${payinfo.gopayFeeAmt}" size="50" />
	<table width="100%" border="0">

		<tr>
			<td width="30%" align=right>交易代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranCode" name="tranCode" value="${payinfo.tranCode}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranCodeTip"></span>
			</td>

		</tr>

		<tr>
			<td width="30%" align=right>商户代码:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merchantID" name="merchantID" value="${payinfo.merchantID}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merchantIDTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>订单号:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merOrderNum" name="merOrderNum" value="${payinfo.merOrderNum}"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="merOrderNumTip"></span>
			</td>
		</tr>


		<tr>
			<td width="30%" align=right>交易金额:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranAmt" name="tranAmt" value="${payinfo.tranAmt}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranAmtTip"></span>
			</td>
		</tr>


		<tr>
			<td width="30%" align=right>商户提取佣金金额:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="mercFeeAmt" name="mercFeeAmt" value="${payinfo.mercFeeAmt }"
				size="50" readonly="readonly" />
			</td>
			<td width="25%" align=left><span id="mercFeeAmtTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;担保支付2.0申请无提留金，此字段保留</td>
			<td width="25%"></td>
		</tr>

		<tr>
			<td width="30%" align=right>币种:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="currencyType" name="currencyType"
				value="${payinfo.currencyType}" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="currencyTypeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>交易时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranDateTime" name="tranDateTime"
				value="${payinfo.tranDateTime }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝服务器时间:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="gopayServerTime" name="gopayServerTime"
				value="${payinfo.gopayServerTime}" size="50" /></td>
			<td width="25%" align=left><span id="gopayServerTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>国付宝转入账户:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="virCardNoIn" name="virCardNoIn" value="${payinfo.virCardNoIn }"
				size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="virCardNoInTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>用户浏览器IP:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="tranIP" name="tranIP" value="${payinfo.tranIP }" size="50" /></td>
			<td width="25%" align=left><font color=red>*</font><span
				id="tranIPTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>版本号:</td>
			<td align=left width="45%">&nbsp; <select id="version"
				name="version" style="width: 60%">
					<option value=""
						<c:if test="${payinfo.version==''}"> <c:out value="selected='selected'"></c:out> </c:if>>请选择</option>
					<option value="2.0"
						<c:if test="${payinfo.version=='2.0'}"> <c:out value="selected='selected'"></c:out> </c:if>>2.0</option>
					<option value="2.1"
						<c:if test="${payinfo.version=='2.1'}"> <c:out value="selected='selected'"></c:out> </c:if>>2.1</option>
			</select>
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="versionTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>字符集:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="charset" name="charset" value="${payinfo.charset }" size="50" />
			</td>
			<td width="25%" align=left><span id="charsetTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:GBK,2:UTF-8 (不填则当成1处理)</td>
			<td width="25%"></td>
		</tr>
		<tr>
			<td width="30%" align=right>语言种类:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="language" name="language" value="${payinfo.language }" size="50" />
			</td>
			<td width="25%" align=left><font color=red>*</font><span
				id="languageTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;1:ZH,2:EN</td>
			<td width="25%"></td>
		</tr>
		<tr>
			<td width="30%" align=right>签名类型:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="signType" name="signType" value="${payinfo.signType }" size="50" />
			</td>
			<td width="25%" align=left><span id="signTypeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left>&nbsp;&nbsp;1:MD5,2:SHA,3:API</td>
			<td width="25%"></td>
		</tr>
		<tr>
			<td width="30%" align=right>商户备用字段1:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merRemark1" name="merRemark1" value="${payinfo.merRemark1 }"
				size="50" />
			</td>
			<td width="25%" align=left><span id="merRemark1Tip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户备用字段2:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="merRemark2" name="merRemark2" value="${payinfo.merRemark2 }"
				size="50" />
			</td>
			<td width="25%" align=left><span id="merRemark2Tip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>商户服务器后台通知地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="backgroundMerUrl" name="backgroundMerUrl"
				value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/background.do')}" size="50" />
			</td>
			<td width="25%" align=left><span id="backgroundMerUrlTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商户返回页面地址:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="frontMerUrl" name="frontMerUrl" value="${fn:replace(pageContext.request.requestURL,'WEB-INF/pages/layout_webtest.jsp','result/webclient/front/recv.do')}" 
				size="50" />
			</td>
			<td width="25%" align=left><span id="frontMerUrlTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>商品名称:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="goodsName" name="goodsName" value="${payinfo.goodsName }"
				size="50" />
			</td>
			<td width="25%" align=left><span id="goodsNameTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right>商品描述:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="goodsDetail" name="goodsDetail" value="${payinfo.goodsDetail }"
				size="50" />
			</td>
			<td width="25%" align=left><span id="goodsDetailTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>买方姓名:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="buyerName" name="buyerName" value="${payinfo.buyerName }"
				size="50" />
			</td>
			<td width="25%" align=left><span id="buyerNameTip"></span>
			</td>
		</tr>


		<tr>
			<td width="30%" align=right>买方联系方式:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="buyerContact" name="buyerContact"
				value="${payinfo.buyerContact }" size="50" />
			</td>
			<td width="25%" align=left><span id="buyerContactTip"></span>
			</td>
		</tr>

		<tr>
			<td width="30%" align=right>订单禁止重复提交标志:</td>
			<td align=left width="45%">&nbsp;&nbsp;<input type="text"
				id="isRepeatSubmit" name="isRepeatSubmit"
				value="${payinfo.isRepeatSubmit }" size="50" /></td>
			<td width="25%" align=left><span id="isRepeatSubmitTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align=right></td>
			<td align=left width="45%">&nbsp;&nbsp;0:不允许,1:允许 (不填则当成1处理)</td>
			<td width="25%"></td>
		</tr>
		<tr>
			<td width="30%" align="right">银行代码:</td>
			<td align="left" width="45%">&nbsp;&nbsp;<input type="text"
				id="bankCode" name="bankCode" value="${payinfo.bankCode }" size="50">
			</td>
			<td width="25%" align=left><span id="bankCodeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align="right">用户类型:</td>
			<td align="left" width="45%">&nbsp;&nbsp;<select id="userType"
				name="userType">
					<option value=""
						<c:if test="${payinfo.userType ==''}"> <c:out value="selected='selected'"></c:out> </c:if>>
					</option>
					<option value="1"
						<c:if test="${payinfo.userType =='1'}"> <c:out value="selected='selected'"></c:out>  </c:if>>1</option>
					<option value="2"
						<c:if test="${payinfo.userType =='2'}"> <c:out value="selected='selected'"></c:out>  </c:if>>2</option>
			</select> 1:个人,2:企业</td>
			<td width="25%" align=left><span id="userTypeTip"></span>
			</td>
		</tr>
		<tr>
			<td width="30%" align="right"></td>
			<td align="left" width="45%"><input type="hidden"
				id="merchantEncode" name="merchantEncode"
				value="${payinfo.merchantEncode }" size="50" />
			</td>
			<td width="25%" align=left></td>
		<tr>
			<td width="30%" align="right"></td>
			<td align="left" width="45%"><input type="hidden"
				id="verficationCode" name="verficationCode"
				value="${sessionScope.gopay_webtest_key}" size="50" /></td>
			<td width="25%" align=left></td>
		</tr>
		<tr>
			<td colspan=3>&nbsp;&nbsp;</td>
		</tr>
		<tr>
			<td colspan=3 width="100%"><center>
					<input value="设置默认值" type="button" id="defButton" name="defButton">&nbsp;&nbsp;&nbsp;&nbsp;<input
						type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>

	</table>
</form:form>

<div>
	<img src="${ctx}/image/zhifu.jpg" alt="" height="200px"></img>
</div>
